﻿@model Orange.Mvc4App.Models.Group
@{
    ViewBag.Title = "客户分组 / 编辑";
}
@section script
{
    @Content.Script("jquery/jquery.validate.min.js", Url)
    @Content.Script("jquery/jquery.validate.unobtrusive.min.js", Url)
}
<h2>
    分组信息[编号:@Model.Groupid]</h2>
<div class="doc">
    @if (Model != null) {
        using (Html.BeginForm()) {
        @Html.HiddenFor(c => c.Groupid)
        @Html.ValidationSummary(false)
        <table>
            <tr>
                <th>
                    分组名称
                </th>
                <td>
                    @Html.EditorFor(c => c.Groupname)
                </td>
                <th>
                    状态
                </th>
                <td>
                    @*@Html.EditorFor(c => c.Status)*@
                    @Html.DropDownListFor(c => c.Status, Content.GetStatus(Model.Status))
                </td>
            </tr>
        </table>
        <p class="center">
            <input type="submit" value="提交" />
            <input type="button" value="返回" onclick="window.location='@Url.Action("Index", "Group")'" />
        </p>
        }
    }
</div>
